#include <stdio.h>

int Sum(int from, int to)
{
    int i = from;
    int sum = 0;
    for (i=from; i<to; ++i)
    {
        sum += i;
    }
    return sum;
}

int main()
{
    int sum = Sum(1, 100);
    printf("the value is %d\n", sum);
    return 0;
}
